package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.entity.RecordMonitor;
import com.lnking.lnkingplace.model.request.record.monitor.MonitorAddIsolationRequest;
import com.lnking.lnkingplace.model.request.record.monitor.MonitorAddRequest;
import com.lnking.lnkingplace.model.request.record.monitor.MonitorUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-29
 */
public interface IRecordMonitorService extends ICustomService<RecordMonitor> {

    List<RecordMonitor> getInfo(String unionFlag);

    void addIsolation(List<MonitorAddIsolationRequest> params);

    void importIsolation(MultipartFile file) throws Exception;

    void importWorker(MultipartFile file)throws Exception;

    void add(MonitorAddRequest params);

    void update(MonitorUpdateRequest params);

}
